<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//FR"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr">
    <head>
	<title>EDTS :: <?php echo $title ?></title>
	<meta name="Content-Type" content="text/html; charset=UTF-8"/>
	<meta name="Content-Language" content="fr" />
	<meta name="description" content=""/>
	<meta name="keywords" content="" />
	<base href="<?php echo URL; ?>" />
	<link rel="icon" type="image/png" href=/favicon.png" />
	<link rel="shortcut icon" type="image/x-icon" href="http://localhost/edts/favicon.ico" />
	<link rel="stylesheet" type="text/css" href="css/style.css" />
	<link rel="stylesheet" type="text/css" href="css/planning.css" />
	<link rel="stylesheet" type="text/css" href="css/formulaire.css" />
	<link rel="stylesheet" type="text/css" href="css/jquery-ui-lightness/jquery-ui-1.8.2.custom.css" />
	<?php foreach ($stylesheets AS $stylesheet): ?>
	<link rel="stylesheet" type="text/css" href="<?php echo $stylesheet ?>" />
	<?php endforeach; ?>


	<?php if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false ): ?>
	    <link rel="stylesheet" type="text/css" href="css/ie/style.css" />
	    <link rel="stylesheet" type="text/css" href="css/ie/planning.css" />
	    <link rel="stylesheet" type="text/css" href="css/ie/formulaire.css" />
	    <?php if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6') !== false ): ?>
	    <link rel="stylesheet" type="text/css" href="css/ie6/style.css" />
	    <link rel="stylesheet" type="text/css" href="css/ie6/planning.css" />
	    <link rel="stylesheet" type="text/css" href="css/ie6/formulaire.css" />
	    <?php endif; ?>
	<?php endif; ?>

	<script src="javascript/jquery-1.4.2.min.js" type="text/javascript" ></script>
	<script src="javascript/jquery-ui-1.8.2.min.js" type="text/javascript" ></script>
	<script src="javascript/all.js" type="text/javascript" ></script>
	<?php foreach ($javascripts AS $javascript): ?>
	<script src="<?php echo $javascript ?>" type="text/javascript" ></script>
	<?php endforeach; ?>
    </head>

    <body>

	<div id="header"><div class="taille">
		<div id="menu">
		    <a href="<?php echo shRequest::link('/') ?>">Consultation</a>
		    <a href="<?php echo shRequest::link(null, 'connexion') ?>">Accès réservé</a>
		</div>
		<a href="<?php echo shRequest::link('/') ?>" class="title"><span>Emploi du temps en ligne</span></a>
		<div id="page-top"></div>
	    </div></div>

	<div id="container"><div class="taille">
		<div id="page-center"><div class="padding">
		    <div id="ariane">
			<a href="<?php echo shRequest::link('/') ?>">Accueil</a> &raquo;
			<?php $prec = null;
			foreach ($ariane AS $link=>$name): ?>
			    <a href="<?php echo $link ?>"><?php echo $name ?></a> &raquo;
			<?php $prec = $link;
			endforeach; ?>
			<?php echo $title ?>
		    </div>
		    <h1><?php echo $title ?></h1>
		    <?php echo $content ?>
		    <?php if ( !empty($ariane) ): ?><div class="right"><a href="<?php echo $prec ?>" class="icon_prec">Retour</a><?php endif; ?>
		    &nbsp;
		</div></div>
	    </div></div>

	<div id="footer"><div class="taille">
		<div id="page-bottom"></div>
		<div style="padding-left: 16px;">Mickaël Castanheiro - Maxime Meunier - Olivier Patte - Clément Portemer - Romain Théry-Hermain<br />
			Etudiants en MIAGE à l'UPJV</div>
	    </div></div>

    </body>
</html>